#include "StdAfx.h"
#include "AppNode.h"

CAppNode::CAppNode(void) : m_strFullPath(NULL), m_strFileName(NULL)
{
	ZeroMemory(m_uMouse, sizeof(m_uMouse));
	ZeroMemory(m_uKeyboard, sizeof(m_uKeyboard));
}

CAppNode::~CAppNode(void)
{
}

void CAppNode::operator += (const CAppNode &n)
{
	m_strFullPath = _T("None");
	m_strFileName = _T("None");
	for (int i=0; i<WM_MOUSELAST-WM_MOUSEFIRST; i++)
		m_uMouse[i] += n.m_uMouse[i];
	for (int i=0; i<2*4; i++)
		m_uKeyboard[i] += n.m_uKeyboard[i];
}
